﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="carduser_modi.aspx.cs" Inherits="EZCRS.HCMS.Web.manage.carduser.carduser_modi" %>
<%@ Register Src="../usercontrol/titlepage.ascx" TagName="titlepage" TagPrefix="uc2" %>
<%@ Register Assembly="Book38.Net.CustomControl" Namespace="Book38.Net.CustomControl"
    TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
 
    <title></title>
      
    
   
   <script src="../../common/calendar1.js" language="javascript" type="text/javascript"></script>
<script language="javascript">
function shows(str)
{
  var tab1=$F("TABLE2");
  var tab2=$F("TABLE3");
  
  if(str==1)
  {
     tab2.style.display="";
	 tab1.style.display="none";
  }
  else
  {
     tab2.style.display="none";
	 tab1.style.display="";
  }
}
</script>
</head>
<body>
    <form id="formData" runat="server" onsubmit="return checkform();">
    <uc2:titlepage id="Titlepage1" runat="server" inittitle="<%$ Resources:Site, LabCardUserModi %>"></uc2:titlepage>
 
        <table cellspacing="1" class="main-table"  cellpadding="1" id="TABLE1">
             
            <tr class="line-even">
              <td  align="center"><table cellspacing="1" width="100%" cellpadding="1" id="TABLE3">

                  <tr class="line-odd">
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:30%; text-align: left;">&nbsp;</td>
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:30%; text-align: left;"><table width="300" border="0" align="right" cellpadding="0" cellspacing="0">
                      <tr  class="line-odd">
                        <td width="142"><div align="center">   <asp:Label runat="server" ID="LabCardUserModiPersonInfo" Text="<%$ Resources:Site, LabCardUserModiPersonInfo %>"></asp:Label><a href="javascript:shows(1);" class="line-odd"></a></div></td>
                        <td width="158" class="title1"><div align="center"> <a href="javascript:shows(2);" class="title1"><asp:Label runat="server" ID="LabCardUserModiLoginInfo" Text="<%$ Resources:Site, LabCardUserModiLoginInfo %>"></asp:Label></a></div></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserLvlid" Text="<%$ Resources:Site, LabCardUserLvlid %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        <asp:DropDownList ID="DdlCardUserLvlid" runat="server"> </asp:DropDownList></td>
                    <td style="width:20%; text-align: right;">
                        &nbsp;</td>
                    <td style="width:30%; text-align: left;"></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right; height: 42px;"><asp:Label runat="server" ID="LabCardUserEndYear" Text="<%$ Resources:Site, LabCardUserEndYear %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left; height: 42px;">&nbsp;&nbsp;<cc1:webtextbox id="txt_endyear" runat="server" cssclass="text-line"
                            validtype="Int" width="52px"><Value>
</Value>
</cc1:webtextbox></td>
                    <td style="width:20%; text-align: right; height: 42px;"><asp:Label runat="server" ID="LabCardUserEmailFormat" Text="<%$ Resources:Site, LabCardUserEmailFormat %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left; height: 42px;"><asp:RadioButtonList ID="txt_emailformat" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="0">HTML</asp:ListItem>
                        <asp:ListItem Value="1">TEXT</asp:ListItem>
                    </asp:RadioButtonList></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;">&nbsp;
                        <asp:Label runat="server" ID="LabCardUserScores" Text="<%$ Resources:Site, LabCardUserScores %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;&nbsp;<cc1:webtextbox id="txt_scores" runat="server" cssclass="text-line" validtype="Int"
                            width="52px"><Value>
</Value>
</cc1:webtextbox></td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserEmailLanguage" Text="<%$ Resources:Site, LabCardUserEmailLanguage %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">
                    <asp:RadioButtonList ID="txt_emaillanguage" runat="server" RepeatDirection="Horizontal">
                    </asp:RadioButtonList></td>
                  </tr>
                  <tr class="line-odd">
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:30%; text-align: left;"></td>
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:30%; text-align: left;">&nbsp;</td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrFirstName" Text="<%$ Resources:Site, LabCardUserUsrFirstName %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;"><cc1:WebTextBox ID="txt_usrfirstname" runat="server" Width="100px" CssClass="text-line" MaxLength="100"></cc1:WebTextBox></td>
                    <td style="width:20%; text-align: right;">
                        &nbsp;</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        </td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrLastName" Text="<%$ Resources:Site, LabCardUserUsrLastName %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;"><cc1:WebTextBox ID="txt_usrlastname" runat="server" Width="100px" CssClass="text-line" MaxLength="100"></cc1:WebTextBox></td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrBirthday" Text="<%$ Resources:Site, LabCardUserUsrBirthday %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        <cc1:WebTextBox ID="txt_usrbirthday" runat="server" CssClass="text-line" Width="67px" MaxLength="20"></cc1:WebTextBox>
                                </td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrGender" Text="<%$ Resources:Site, LabCardUserUsrGender %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">
                        <asp:RadioButtonList ID="txt_usrgender" runat="server" RepeatDirection="Horizontal"> </asp:RadioButtonList></td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrNationality" Text="<%$ Resources:Site, LabCardUserUsrNationality %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        <cc1:WebTextBox ID="txt_usrnationality" runat="server" Width="100px" CssClass="text-line" MaxLength="100"></cc1:WebTextBox></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserIdType" Text="<%$ Resources:Site, LabCardUserIdType %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        <asp:DropDownList ID="DdlCardUserIdType" runat="server"> </asp:DropDownList></td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrCountry" Text="<%$ Resources:Site, LabCardUserUsrCountry %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        <cc1:WebTextBox ID="txt_usrcountry" runat="server" Width="150px" CssClass="text-line" MaxLength="100"></cc1:WebTextBox></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserIdNo" Text="<%$ Resources:Site, LabCardUserIdNo %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;<cc1:WebTextBox ID="txt_idno" runat="server" Width="200px" CssClass="text-line"  MaxLength="18" onkeypress="return event.keyCode>=48&&event.keyCode<=57" onPaste="return false" onDrop="return false"></cc1:WebTextBox></td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrProvince" Text="<%$ Resources:Site, LabCardUserUsrProvince %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        <cc1:WebTextBox ID="txt_usrprovince" runat="server" Width="150px" CssClass="text-line" MaxLength="100"></cc1:WebTextBox></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserSmoke" Text="<%$ Resources:Site, LabCardUserSmoke %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;"><asp:RadioButtonList ID="RblSmoking" runat="server" RepeatDirection="Horizontal"> </asp:RadioButtonList></td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrCity" Text="<%$ Resources:Site, LabCardUserUsrCity %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        <cc1:WebTextBox ID="txt_usrcity" runat="server" Width="150px" CssClass="text-line" MaxLength="100"></cc1:WebTextBox></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserPillow" Text="<%$ Resources:Site, LabCardUserPillow %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;<cc1:WebTextBox ID="txt_pillow" runat="server" Width="250px" CssClass="text-line" MaxLength="100"></cc1:WebTextBox></td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserBed" Text="<%$ Resources:Site, LabCardUserBed %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;
                        <cc1:WebTextBox ID="txt_bed" runat="server" Width="250px" CssClass="text-line" MaxLength="100"></cc1:WebTextBox></td>
                  </tr>
                  <tr class="line-even">
                    <td>                    </td>
                    <td>&nbsp;                    </td>
                    <td></td>
                    <td>&nbsp;                    </td>
                  </tr>
				  <tr class="line-even">
                    <td align="right">
                      <asp:Label runat="server" ID="LabCardUserUsrStatus" Text="<%$ Resources:Site, LabCardUserUsrStatus %>"></asp:Label>
                      ：</td>
                    <td align="left"><asp:RadioButtonList ID="txt_usrstatus" runat="server" RepeatDirection="Horizontal"> </asp:RadioButtonList>
                    </td>
                    <td></td>
                    <td>&nbsp;                    </td>
                  </tr>
				  <tr class="line-even">
                    <td align="right">
                         <asp:Label runat="server" ID="LabCardUserAdEmail" Text="<%$ Resources:Site, LabCardUserAdEmail %>"></asp:Label>：</td>
                    <td align="left"><asp:RadioButtonList ID="txt_ademail" runat="server" RepeatDirection="Horizontal">
                    </asp:RadioButtonList></td>
                    <td align="right">
                        <asp:Label runat="server" ID="LabCardUserAdMobile" Text="<%$ Resources:Site, LabCardUserAdMobile %>"></asp:Label>：</td>
                    <td align="left"><asp:RadioButtonList ID="txt_admobile" runat="server" RepeatDirection="Horizontal">
                    </asp:RadioButtonList></td>
                  </tr>
				  
                  <tr class="line-odd">
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:30%; text-align: left;"></td>
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:30%; text-align: left;"></td>
                  </tr>
                  <tr class="line-even">
                    <td colspan="4" align="center"><asp:HiddenField ID="UId" runat="server" />
                      &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                      <asp:Button ID="BtnAdd" runat="server" CssClass="bttn"
                        Text="<%$ Resources:Site, ButtonSave %>" OnClick="BtnAdd_Click" />
                      &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                      <asp:Button ID="BtnDel" runat="server" CssClass="bttn" OnClick="BtnDel_Click" Text="<%$ Resources:Site, ButtonDel %>" Visible="false"  OnClientClick="return confirm('是否删除此常客？');"/></td>
                  </tr>
                </table>
                <table cellspacing="1" width="100%" cellpadding="1" id="TABLE2" style="display:none">
                  <tr class="line-odd">
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:30%; text-align: left;">&nbsp;</td>
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:29%; text-align: left;"><table width="300" border="0" align="right" cellpadding="0" cellspacing="0">
                      <tr  class="line-odd">
                        <td width="142"><div align="center"  class="title1"> <a href="javascript:shows(1);"  class="title1"><asp:Label runat="server" ID="LabCardUserModiPersonInfo2" Text="<%$ Resources:Site, LabCardUserModiPersonInfo %>"></asp:Label></a></div></td>
                        <td width="158"><div align="center" class="line-odd"> <asp:Label runat="server" ID="LabCardUserModiLoginInfo2" Text="<%$ Resources:Site, LabCardUserModiLoginInfo %>"></asp:Label></div></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr class="line-even">
                  <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUnumber" Text="<%$ Resources:Site, LabCardUserUnumber %>"></asp:Label>
                    ：</td>
                  <td style="width:30%; text-align: left;">
                      <asp:Label ID="LabCardUserUnumberInfo" runat="server" Text="No"></asp:Label>
                      <asp:LinkButton ID="LnkCardNumbDistributeCardNumb" runat="server" OnClick="LnkCardNumbDistributeCardNumb_Click"><asp:Label runat="server" ID="LabCardNumbDistributeCardNumb" Text="<%$ Resources:Site, LabCardNumbDistributeCardNumb %>"></asp:Label></asp:LinkButton></td>
                  <td style="width:20%; text-align: right;">
                  <asp:Label ID="LabCardUserUsrEmail" runat="server" Text="<%$ Resources:Site, LabCardUserUsrEmail %>"></asp:Label>
                    ：</td>
                  <td style="width:29%; text-align: left;">
                  <cc1:WebTextBox ID="txt_usremail" runat="server" CssClass="text-line" MaxLength="100" Width="200px"></cc1:WebTextBox>
                     <asp:HiddenField ID="EId" runat="server" />
                      <asp:Button ID="BtnUsrEmailAdd" runat="server" CssClass="bttn"
                        Text="<%$ Resources:Site, ButtonModify %>" OnClick="BtnUsrEmailAdd_Click" /></td>
                </tr>
                <tr class="line-even">
                  <td style="width:20%; text-align: right;">
                  <asp:Label runat="server" ID="LabCardUserUsrName" Text="<%$ Resources:Site, LabCardUserUsrName %>"></asp:Label>
                    ：</td>
                  <td style="width:30%; text-align: left;">
                      <cc1:WebTextBox ID="txt_usrname" runat="server" Width="100px" CssClass="text-line" MaxLength="20"></cc1:WebTextBox>   
                       <asp:HiddenField ID="UserId" runat="server" />               
                      <asp:Button ID="BtnUsrNameAdd" runat="server" CssClass="bttn"  Text="<%$ Resources:Site, ButtonModify %>" OnClick="BtnUsrNameAdd_Click" /></td>
                  <td style="width:20%; text-align: right;">
                  
                  <asp:Label ID="LabCardUserUsrMobile" runat="server" Text="<%$ Resources:Site, LabCardUserUsrMobile %>"></asp:Label>
                    ：</td>
                  <td style="width:29%; text-align: left;">
                  <cc1:WebTextBox ID="txt_mobnumb" runat="server" CssClass="text-line"   MaxLength="15" onkeypress="return event.keyCode>=48&&event.keyCode<=57" onPaste="return false" onDrop="return false" Width="100px"></cc1:WebTextBox>                  
                  <asp:HiddenField ID="MobId" runat="server" />       
                  <asp:Button ID="BtnMobNumbAdd" runat="server" CssClass="bttn" Text="<%$ Resources:Site, ButtonModify %>" OnClick="BtnMobNumbAdd_Click" /></td>
                </tr>
				<tr class="line-even">
                  <td style="width:20%; text-align: right;">&nbsp;</td>
                    <td style="width:30%; text-align: left;">&nbsp;</td>
                    <td style="width:20%; text-align: right;">&nbsp;</td>
                    <td style="width:29%; text-align: left;">&nbsp;</td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right; height: 28px;"><asp:Label runat="server" ID="LabCardUserRegDate" Text="<%$ Resources:Site, LabCardUserRegDate %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left; height: 28px;">&nbsp;<asp:Label ID="LabCardUserRegDateInfo" runat="server" Text="Label"></asp:Label></td>
                    <td style="width:20%; text-align: right; height: 28px;"><asp:Label runat="server" ID="LabCardUserQuestion" Text="<%$ Resources:Site, LabCardUserQuestion %>"></asp:Label>：</td>
                    <td style="width:29%; text-align: left; height: 28px;">&nbsp;<asp:Label ID="LabCardUserQuestionInfo" runat="server" Text="Label"></asp:Label></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserLogDate" Text="<%$ Resources:Site, LabCardUserLogDate %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;<asp:Label ID="LabCardUserLogDateInfo" runat="server" Text="Label"></asp:Label></td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserAnswer" Text="<%$ Resources:Site, LabCardUserAnswer %>"></asp:Label>：</td>
                    <td style="width:29%; text-align: left;">&nbsp;<asp:Label ID="LabCardUserAnswerInfo" runat="server" Text="Label"></asp:Label></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserLogIp" Text="<%$ Resources:Site, LabCardUserLogIp %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;<asp:Label ID="LabCardUserLogIpInfo" runat="server" Text="Label"></asp:Label></td>
                    <td style="width:20%; text-align: right;"> <asp:Label runat="server" ID="LabCardUserUserCheckCode" Text="<%$ Resources:Site, LabCardUserUserCheckCode %>"></asp:Label>：</td>
                    <td style="width:29%; text-align: left;">&nbsp;<asp:Label ID="LabCardUserUserCheckCodeInfo" runat="server" Text="Label"></asp:Label></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserLogCount" Text="<%$ Resources:Site, LabCardUserLogCount %>"></asp:Label>
                      ：</td>
                    <td style="width:30%; text-align: left;">&nbsp;<asp:Label ID="LabCardUserLogCountInfo" runat="server" Text="Label"></asp:Label></td>
                    <td style="width:20%; text-align: right;"><asp:Label ID="LabCardUserCheckCodeDate" runat="server" Text="<%$ Resources:Site, LabCardUserCheckCodeDate %>"></asp:Label>：</td>
                    <td style="width:29%; text-align: left;">&nbsp;<asp:Label ID="LabCardUserCheckCodeDateInfo" runat="server" Text="Label"></asp:Label></td>
                  </tr>
                  <tr class="line-even">
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:30%; text-align: left;">&nbsp;                        </td>
                    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserUsrPasswordInit" Text="<%$ Resources:Site, LabCardUserUsrPasswordInit %>"></asp:Label>：</td>
                    <td style="width:29%; text-align: left;">&nbsp;<cc1:WebTextBox ID="txt_usrpassword" runat="server" CssClass="text-line" MaxLength="15" Width="77px"></cc1:WebTextBox><asp:Button ID="BtnUsrPasswordInit" runat="server" CssClass="bttn"
                        Text="<%$ Resources:Site, ButtonModify %>" OnClick="BtnUsrPasswordInit_Click" /></td>
                  </tr>
				  <tr class="line-even">
				    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserEmailCheck" Text="<%$ Resources:Site, LabCardUserEmailCheck %>"></asp:Label>：&nbsp;</td>
				    <td style="width:30%; text-align: left;">&nbsp;<asp:Label ID="LabCardUserEmailCheckInfo" runat="server" Text="Label"></asp:Label></td>
                    <td style="width:20%; text-align: right;">&nbsp;</td>
                    <td style="width:29%; text-align: left;">&nbsp;<asp:Label runat="server" ID="LabCardUserNote1" Text="<%$ Resources:Site, LabCardUserNote1 %>"></asp:Label></td>
				  </tr>
				  <tr class="line-even">
				    <td style="width:20%; text-align: right;"><asp:Label runat="server" ID="LabCardUserMobileCheck" Text="<%$ Resources:Site, LabCardUserMobileCheck %>"></asp:Label>：</td>
				    <td style="width:30%; text-align: left;">&nbsp;<asp:Label ID="LabCardUserMobileCheckInfo" runat="server" Text="Label"></asp:Label></td>
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:29%; text-align: left;">&nbsp;                        </td>
                  </tr>
                  <tr class="line-odd">
                    <td style="width:20%; text-align: right;">&nbsp;</td>
                    <td style="width:30%; text-align: left;">&nbsp;</td>
                    <td style="width:20%; text-align: right;"></td>
                    <td style="width:29%; text-align: left;"></td>
                  </tr>
                </table></td>
           </tr> 
        </table>
    
      
    </form>
   
    <script type="text/vbscript"> 
    function  myCheckDate(val)  
        if val="" then
         myCheckDate=true
        else   
         if  IsDate(val)  then  
          myCheckDate=true  
         else    
          myCheckDate=false  
          end  if  
        end if
         end  function  
    </script>
</body>
</html>
